﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbGoods:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbGoods
    {
        public tbGoods()
        { }
        #region Model
        private int _goodsid;
        private string _goodsname;
        private string _goodscode;
        private int? _typeid;
        private int? _brandid;
        private int? _makepoints;
        private int? _changepoints;
        private bool _ispromotion;
        private string _bigpic;
        private string _smallpic;
        private string _goodsContent;
        private int? _goodscount;
        private bool _issale;
        private string _prokey;
        private bool _visible;
        private string _contenten;
        private DateTime? _updatetime;
        private DateTime? _addtime;
        private int? _clicks;
        private int? _goodsorder;
        private string _instruction;
        private string _mobileinstruction;
        private int? _addadminid;
        private bool _isrush;
        private int? _rushpoints;
        private DateTime? _rushtimefrom;
        private DateTime? _rushtimeto;


        string _detailUrl;

        public string DetailUrl
        {
            get { return _detailUrl; }
            set { _detailUrl = value; }
        }

        private int? _termsId;

        public int? termsId
        {
            get { return _termsId; }
            set { _termsId = value; }
        }

        bool _isRecom;

        public bool IsRecom
        {
            get { return _isRecom; }
            set { _isRecom = value; }
        }

        bool _allowAllCard;

        public bool AllowAllCard
        {
            get { return _allowAllCard; }
            set { _allowAllCard = value; }
        }

        bool _isModelType;

        public bool IsModelType
        {
            get { return _isModelType; }
            set { _isModelType = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int goodsId
        {
            set { _goodsid = value; }
            get { return _goodsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsName
        {
            set { _goodsname = value; }
            get { return _goodsname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsCode
        {
            set { _goodscode = value; }
            get { return _goodscode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? typeId
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? brandId
        {
            set { _brandid = value; }
            get { return _brandid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? makePoints
        {
            set { _makepoints = value; }
            get { return _makepoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? changePoints
        {
            set { _changepoints = value; }
            get { return _changepoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isPromotion
        {
            set { _ispromotion = value; }
            get { return _ispromotion; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string bigPic
        {
            set { _bigpic = value; }
            get { return _bigpic; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string smallPic
        {
            set { _smallpic = value; }
            get { return _smallpic; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsContent
        {
            set { _goodsContent = value; }
            get { return _goodsContent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? goodsCount
        {
            set { _goodscount = value; }
            get { return _goodscount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isSale
        {
            set { _issale = value; }
            get { return _issale; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string prokey
        {
            set { _prokey = value; }
            get { return _prokey; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool visible
        {
            set { _visible = value; }
            get { return _visible; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string contenten
        {
            set { _contenten = value; }
            get { return _contenten; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? updatetime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? addTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? clicks
        {
            set { _clicks = value; }
            get { return _clicks; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? goodsOrder
        {
            set { _goodsorder = value; }
            get { return _goodsorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string instruction
        {
            set { _instruction = value; }
            get { return _instruction; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string mobileInstruction
        {
            set { _mobileinstruction = value; }
            get { return _mobileinstruction; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? addAdminId
        {
            set { _addadminid = value; }
            get { return _addadminid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isRush
        {
            set { _isrush = value; }
            get { return _isrush; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? rushPoints
        {
            set { _rushpoints = value; }
            get { return _rushpoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? rushTimeFrom
        {
            set { _rushtimefrom = value; }
            get { return _rushtimefrom; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? rushTimeTo
        {
            set { _rushtimeto = value; }
            get { return _rushtimeto; }
        }

        int deliveryTemplateId;

        public int DeliveryTemplateId
        {
            get { return deliveryTemplateId; }
            set { deliveryTemplateId = value; }
        }
        #endregion Model

    }
}

